home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8174
/
8174.xpi
/
chrome
/
antbar.jar
/
content
/
grabber
/
parsers
/
parser.js
next >
Wrap
Text File
|
2009-12-30
|
862b
|
51 lines
//
// parser.js
// firefox
//
// Created by Zak on 2008-06-10.
// Copyright 2008-2009 Ant.com. All rights reserved.
//
/**
*
* ParserInterface
* interface ParserInterface {
* return an array of flv url
* this.getFlvArray = function ()
*
* };
*
*/
var AntParser = function()
{
this.currentDocument = null;
/**
* Return an array of ant flv object
*/
this.getFlvArray = function ()
{
throw "NotImplemented";
}
/**
* Return current document
* @return this.currentDocument The current document
*/
this.getCurrentDocument = function ()
{
return this.currentDocument;
}
/**
* Set current document
* @param doc The new current document
*/
this.setCurrentDocument = function (doc)
{
this.currentDocument = doc;
}
}